import { ContainerType } from 'tscommon/ts/base';

const pcView = () => import('./view/index.vue');

//自动显示PC端与移动端
export function Test(type: ContainerType) {
  switch (type) {
    case ContainerType.PC:
      return pcView;
    case ContainerType.Phone:
    case ContainerType.WX:
    default://其他端暂时不考虑
      return () => { };
  }
}


//自动显示PC端与移动端
export function TestModify(type: ContainerType) {
  switch (type) {
    case ContainerType.PC:
      return () => import('./view/Add.vue');
    case ContainerType.Phone:
    case ContainerType.WX:
    default://其他端暂时不考虑
      return () => { };
  }
}